home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 016a / echoo.zip / CHOO.BAT < prev    next >
DOS Batch File  |  1991-10-25  |  2KB  |  86 lines

  1. @echo off
  2. echoo Loading Echoo... /t
  3. echoo /f-abstract.txt /bg1/p /b
  4. echoo /f-echoo.txt /b/s/bg1/p/l
  5. echoo Here comes some errorlevel checking - /p/m/b/s/bg5
  6.  
  7. echoo /dosver
  8. if errorlevel 50 goto 50
  9. echoo DOS Version is NOT 5.0!
  10. goto nextdos
  11. :50
  12. echoo DOS Version 5.0 Present
  13. :nextdos
  14.  
  15. echoo /mouse
  16. if errorlevel 10 goto mouse
  17. echoo No Mouse Present
  18. goto nextmouse
  19. :mouse
  20. echoo Mouse Present
  21. :nextmouse
  22.  
  23. echoo /ext
  24. if errorlevel 10 goto no
  25. echoo No extended memory 
  26. goto endt
  27. :no
  28. echoo Extended memory present 
  29. :endt
  30.  
  31. echoo /exp
  32. if errorlevel 10 goto nox
  33. echoo No expanded memory 
  34. goto endx
  35. :nox
  36. echoo Expanded memory present 
  37. :endx
  38.  
  39. echoo /cpu
  40. if errorlevel 20 goto 386
  41. if errorlevel 10 goto 286
  42. echoo 8086/8088 processor 
  43. goto endcpu
  44. :386
  45. echoo 80386/80486 processor 
  46. goto endcpu
  47. :286
  48. echoo 80286 processor 
  49. :endcpu
  50.  
  51. echoo /cop
  52. if errorlevel 10 goto proc
  53. echoo No coprocessor 
  54. goto endproc
  55. :proc
  56. echoo Math coprocessor present 
  57. :endproc
  58.  
  59. echoo /drivea
  60. if errorlevel 10 goto diskerr
  61. echoo Drive A: is OK!
  62. goto enddisk
  63. :diskerr
  64. echoo Drive A: is not ready.
  65. :enddisk
  66.  
  67. echoo The next screen will show the information about your computer /p
  68.  
  69. echoo /info /bg1
  70. echoo /p
  71. echoo /ascii /bg5/fg15
  72. echoo /p
  73. echoo /colors /bg3
  74. echoo /p
  75. echoo /bg5
  76. echoo Do You Like This Demo So Far? /y/b/bg1/s
  77. if errorlevel 10 goto yesido
  78. echoo How Come You Dont Like It?/p/bg0
  79. goto nextido
  80. :yesido
  81. echoo I am glad you like it! /p/bg0
  82. :nextido
  83. echoo /f-c:\config.sys /b/bg-1/c
  84. echoo This is a sample of a file display - & the end of the demo! /s/b/bg5
  85.  
  86.